package com.woniu.sso_jwt.jwtsubject;


import java.io.Serializable;

//作为subject的数据访问，也就是playload中保存的公开信息public claims
//其中不能包含敏感信息
public class JWTSubject implements Serializable {

    private String username;

    public JWTSubject(String username) {
        this.username = username;
    }

    public JWTSubject() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
